package imodel

/*
	将请求的消息封装到一个Message中
	针对Message进行封包拆包
*/
type IMessage interface {
	GetData() interface{}

	SetData(data interface{})

	GetMsgLen() uint32

	SetMsgLen(len uint32)

	GetMsgId() byte

	SetMsgId(id byte)

	GetReserved() byte

	SetReserved(reserved byte)
}
